<?php
/**
 * Created by PhpStorm.
 * User: mars
 * Date: 2019/2/12
 * Time: 2:51 PM
 */

namespace api\models;


class ArticleImage extends \common\models\ArticleImage
{

    public function getImage()
    {
        return $this->hasOne(Image::className(), ['id' => 'image_id']);
    }


}